package cn.lisens.common.dict.model;

import java.io.Serializable;
import java.util.List;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.OneToMany;
import javax.persistence.OrderBy;
import javax.persistence.Table;
import javax.persistence.TableGenerator;
import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;

import org.hibernate.annotations.Where;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import cn.lisens.common.entity.BaseEntity;


/**
 * 
 * @Description:字典类型
 * @author: fastsun
 * @date:   2025年3月5日 
 */
public class DictType extends BaseEntity<Integer> implements Serializable {
	private static final long serialVersionUID = 1L;
	/** 主键 */
	private Integer id;
	/** 字典名称 */
	private String dictName;
	/** 字典类型 */
	private String dictType;
	/** 是否系统内置，默认为是 */
	private Boolean isSystem;
	/** 备注 */
	private String remark;
	/** 排序 */
	private Integer sortNum;	
	
	/** 关联字典数据集合 */
	private List<DictData> datas;

	public DictType() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDictName() {
		return dictName;
	}

	public void setDictName(String dictName) {
		this.dictName = dictName;
	}

	public String getDictType() {
		return dictType;
	}

	public void setDictType(String dictType) {
		this.dictType = dictType;
	}

	public Boolean getIsSystem() {
		return isSystem;
	}

	public void setIsSystem(Boolean isSystem) {
		this.isSystem = isSystem;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getSortNum() {
		return sortNum;
	}

	public void setSortNum(Integer sortNum) {
		this.sortNum = sortNum;
	}

	public List<DictData> getDatas() {
		return datas;
	}

	public void setDatas(List<DictData> datas) {
		this.datas = datas;
	}
}